/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */

import request from '@/utils/request';

// 扣钱不发帐户管理
export async function getDeductMoneyList(params: any) {
  return request('/Shield/getList', {
    method: 'POST',
    data: params,
  });
}
export async function deductMoneyUntied(params: any) {
  return request('/Shield/adminUntied', {
    method: 'POST',
    data: params,
  });
}

// 拉黑快递员/驿站
export async function getUsersList(params: any) {
  return request('/Shield/getUsers', {
    method: 'POST',
    data: params,
  });
}
// 切换白名单
export async function switchWhite(params: any) {
  return request('/Shield/switchWhite', {
    method: 'POST',
    data: params,
  });
}
export async function setOptions(url: string, params: any) {
  return request(url, {
    method: 'POST',
    data: params,
  });
}

//短信取消拉黑
export async function removeSMSBlack(params: any) {
  return request('/Shield/removeSMSBlack', {
    method: 'POST',
    data: params,
  });
}

//短信拉黑
export async function addSMSBlack(params: any) {
  return request('/Shield/addSMSBlack', {
    method: 'POST',
    data: params,
  });
}
